package com.love_weinuo.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2019/3/11.
 */

public class LoginCallbackBean implements Serializable {

    /**
     * errcode : 0
     * msg : 登录成功
     * result : {"res":{"salt":"300454","headimg":"","sex":0,"mobile":"15515291707","type":0,"password":"4dc68cead80c5b0dc84a35402748ba79","money":0,"addtime":"2019-03-21 13:52:04","appid":"","jtoken":"1507bfd3f78d76fe733","name":"5c93268402b84","nickname":"农场主","id":25,"state":0},"userusign":"eJxlj11PgzAYRu-5FYTbGe3brlkx8WJ8OEFlSzaYeEMQOqgf0NBiJMb-bmQuknh9TvI859MwTdPa3W3P86Jo*0ZnepDcMi9NC1lnf1BKUWa5zkhX-oP8Q4qOZ-lB826EmNoYoakiSt5ocRC-AlAKFNuwQIuJpMqXbBw6OnOEwAZAZKqIaoT3fuwGjozXw4337D2x-UP46s6C5PbRI0lCG79OGbB500cMIIydpfCXs0F2aUpwtfVrd*UytVG92hTqWrX1ah3sZVQ50UUoeZ5eTSa1eOOn0wRjggib0HfeKdE2x2wEFABs9NNufBnfM0FcJQ__"}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public class ResultEntity implements Serializable{
        /**
         * res : {"salt":"300454","headimg":"","sex":0,"mobile":"15515291707","type":0,"password":"4dc68cead80c5b0dc84a35402748ba79","money":0,"addtime":"2019-03-21 13:52:04","appid":"","jtoken":"1507bfd3f78d76fe733","name":"5c93268402b84","nickname":"农场主","id":25,"state":0}
         * userusign : eJxlj11PgzAYRu-5FYTbGe3brlkx8WJ8OEFlSzaYeEMQOqgf0NBiJMb-bmQuknh9TvI859MwTdPa3W3P86Jo*0ZnepDcMi9NC1lnf1BKUWa5zkhX-oP8Q4qOZ-lB826EmNoYoakiSt5ocRC-AlAKFNuwQIuJpMqXbBw6OnOEwAZAZKqIaoT3fuwGjozXw4337D2x-UP46s6C5PbRI0lCG79OGbB500cMIIydpfCXs0F2aUpwtfVrd*UytVG92hTqWrX1ah3sZVQ50UUoeZ5eTSa1eOOn0wRjggib0HfeKdE2x2wEFABs9NNufBnfM0FcJQ__
         */
        private ResEntity res;
        private String usersig;

        public void setRes(ResEntity res) {
            this.res = res;
        }

        public void setUsersig(String usersig) {
            this.usersig = usersig;
        }

        public ResEntity getRes() {
            return res;
        }

        public String getUsersig() {
            return usersig;
        }

        public class ResEntity implements Serializable{
            /**
             * salt : 300454
             * headimg :
             * sex : 0
             * mobile : 15515291707
             * type : 0
             * password : 4dc68cead80c5b0dc84a35402748ba79
             * money : 0
             * addtime : 2019-03-21 13:52:04
             * appid :
             * jtoken : 1507bfd3f78d76fe733
             * name : 5c93268402b84
             * nickname : 农场主
             * id : 25
             * state : 0
             */
            private String salt;
            private String headimg;
            private int sex;
            private String mobile;
            private int type;
            private String password;
            private int money;
            private String addtime;
            private String appid;
            private String jtoken;
            private String name;
            private String nickname;
            private int id;
            private int state;

            public void setSalt(String salt) {
                this.salt = salt;
            }

            public void setHeadimg(String headimg) {
                this.headimg = headimg;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public void setType(int type) {
                this.type = type;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public void setMoney(int money) {
                this.money = money;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public void setAppid(String appid) {
                this.appid = appid;
            }

            public void setJtoken(String jtoken) {
                this.jtoken = jtoken;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getSalt() {
                return salt;
            }

            public String getHeadimg() {
                return headimg;
            }

            public int getSex() {
                return sex;
            }

            public String getMobile() {
                return mobile;
            }

            public int getType() {
                return type;
            }

            public String getPassword() {
                return password;
            }

            public int getMoney() {
                return money;
            }

            public String getAddtime() {
                return addtime;
            }

            public String getAppid() {
                return appid;
            }

            public String getJtoken() {
                return jtoken;
            }

            public String getName() {
                return name;
            }

            public String getNickname() {
                return nickname;
            }

            public int getId() {
                return id;
            }

            public int getState() {
                return state;
            }
        }
    }
}
